package com.dehui.traders.ui.fragment.information;

import android.support.v7.widget.RecyclerView;

import com.dehui.traders.BR;
import com.dehui.traders.R;
import com.dehui.traders.databinding.FragmentNewsInformationBinding;
import com.dehui.traders.ui.viewmodle.NewsInformationViewModel;

import me.goldze.mvvmhabit.base.BaseFragment;

/**
 * Created by hqq on 18.4.8.
 */

public class NewsInformationFragment extends BaseFragment<FragmentNewsInformationBinding,NewsInformationViewModel>{

    @Override
    public int initContentView() {
        return R.layout.fragment_news_information;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public NewsInformationViewModel initViewModel() {
        return new NewsInformationViewModel(getContext());
    }

}
